SubreportObject Object

The SubreportObject Object represents a subreport placed in a report. A subreport is a free-standing or linked report found within the main report. This object provides properties for retrieving information on the subreport (for example, name, formatting options, etc.).

SubreportObject Object Properties

Property Description Read/Write Restriction in
event handler

BackColor

OLE_COLOR. Gets or sets the object background color.

Read/Write

Can be written only when formatting idle or active.

BorderColor

OLE_COLOR. Gets or sets the object border color.

Read/Write

Can be written only when formatting idle or active.

BottomLineStyle

CRLineStyle. Gets or sets the bottom line style.

Read/Write

Can be written only when formatting idle or active.

CanGrow

Boolean. Gets or sets the can grow option.

Read/Write

Can be written only when formatting idle or active.

CloseAtPage
Break

Boolean. Gets or sets close border on page break.

Read/Write

Can be written only when formatting idle or active.

EnableOn
Demand

Boolean. Gets the real-time subreport option.

Read only

None

HasDropShadow

Boolean. Gets or sets the border drop shadow option.

Read/Write

Can be written only when formatting idle or active.

Height

Long. Gets or sets the object height, in twips.

Read/Write

Can be written only when formatting idle or active.

KeepTogether

Boolean. Gets or sets the keep object together option.

Read/Write

Can be written only when formatting idle or active.

Kind

CRObjectKind. Gets what kind of object (for example, box, cross-tab, field).

Read only

None

Left

Long. Gets or sets the object upper left position, in twips.

Read/Write

Can be written only when formatting idle or active.

LeftLineStyle

CRLineStyle. Gets or sets the left line style.

Read/Write

Can be written only when formatting idle or active.

Links

SubreportLinks Collection. Gets reference to the Collection.

Read Only

None

Name

String. Gets or sets the object name.

Read/Write

Can be written only when formatting idle or active.

Parent

Section Object. Gets reference to the parent object.

Read only

None

RightLineStyle

CRLineStyle. Gets or sets the right line style.

Read/Write

Can be written only when formatting idle or active.

SubreportName

String. Gets or sets the name of the subreport.

Read/Write

Can be written only when formatting idle.

Suppress

Boolean. Gets or sets the object visibility option.

Read/Write

Can be written only when formatting idle or active.

Top

Long. Gets or sets the object upper top position, in twips.

Read/Write

Can be written only when formatting idle or active.

TopLineStyle

CRLineStyle. Gets or sets the top line style.

Read/Write

Can be written only when formatting idle or active.

Width

Long. Gets or sets the object width, in twips.

Read/Write

Can be written only when formatting idle or active.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com